<ion-view view-title="银行账户列表" id="bank-account-list" hide-nav-bar="true">
  <ion-header-bar align-title="center" class="bar-calm">
    <div class="buttons">
      <button class="button head-button button-clear center-btn" ng-click="goBack()">
        <img src="img/order-commit/backIcon.png">
      </button>
    </div>
    <h1 class="title">银行账户列表</h1>
  </ion-header-bar>
  <ion-content>
    <div class="no-account" ng-if="noAccount">
      暂无银行账户。
    </div>
    <div class="account-div" ng-repeat="item in accounts">
      <div class="content">
        <div class="user">开户人:&nbsp;{{item.bankuser}}</div>
        <div class="name">开户银行:&nbsp;{{item.bankname}}</div>
        <div class="the-card">开户帐号:&nbsp;{{item.bankcard}}</div>
      </div>
      <div class="btn-div">
        <div class="btn-left" on-tap="goEdit(item)">
          <div>编辑</div>
        </div>
        <div class="btn-right" on-tap="remove(item)">
          <div>删除</div>
        </div>
      </div>
    </div>
  </ion-content>
  <ion-footer-bar>
    <div class="footer-div" on-tap="addNewAccount()">添加新的银行帐号</div>
  </ion-footer-bar>
</ion-view>
